﻿using System;
using System.Net;
using Snefru.Interfaces;
using Snefru.XmlObjects;

namespace Snefru.Params
{
    public class QueryAttackParams : IAttackQueryParams
    {

        public InjectionQuery InjectionQuery { get; set; }
        public string QueryLenght { get; set; }
        public string ReturnValue { get; set; }
        public char AsciiValue { get; set; }
       
        public int AttackID { get; set; }
        public string AttackName { get; set; }
        public string TargetUrl { get; set; }
        public string Query { get; set; }
        public string QueryPrefix { get; set; }
        public TimeSpan TimeOfResponse { get; set; }
        public HttpStatusCode StatusCode { get; set; }

        public QueryAttackParams()
        {
        }
        public QueryAttackParams(InjectionQuery InjectionQuery, string QueryLenght, string Query, string ReturnValue, char AsciiValue, int AttackId, string AttackName, string TargetUrl, string QueryPrefix)
        {
            this.InjectionQuery = InjectionQuery;
            this.QueryLenght = QueryLenght;
            this.Query = Query;
            this.ReturnValue = ReturnValue;
            this.AsciiValue = AsciiValue;
            this.AttackID = AttackId;
            this.AttackName = AttackName;
            this.TargetUrl = TargetUrl;
            this.QueryPrefix = QueryPrefix;
        }

        
    }
}